<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax封装演示</title>
</head>

<body>

  <h1>get请求演示：</h1>
  <pre id="pre1"></pre>

  <h1>post请求演示：</h1>
  <pre id="pre2"></pre>


  <script type="module" src="./js/h02.js"></script>
</body>

</html>